<template>
  <div class="goods">
    <GoodItem v-for="item in goodsList" :gooditem="item" :key="item.clientUrl"/>
  </div>
</template>

<script>
  import GoodItem from './GoodItem';

export default {
  name: 'Goods',
  props: {
    goodsList: {
      type: Array,
      default() {
        return [];
      }
    }
  },
  components: {
    GoodItem
  }

}
</script>

<style>
  .goods{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

    padding: 5px;
  }
</style>